﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestExport.aspx.cs" Inherits="KPIS.GERP.GFMS.APP.App_UI.Forms.TestExport" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
            <script type="text/javascript">
                function onRequestStart(sender, args) {
                    if (args.get_eventTarget().indexOf("ExportTo") >= 0) {
                        args.set_enableAjax(false);
                    }
                }
            </script>
    <div>
        <telerik:RadScriptManager runat="server" ID="xxcx"></telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
            <ClientEvents OnRequestStart="onRequestStart"></ClientEvents>
            <AjaxSettings>

            </AjaxSettings>
        </telerik:RadAjaxManager>
      <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>

        <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="RadGrid1" 
            runat="server" AutoGenerateColumns="False" Skin="Outlook" OnItemCommand="RadGrid1_ItemCommand"
            ShowStatusBar="True" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True"
            Width="970px" Height="468px" GridLines="None" CellSpacing="0">
            
           <MasterTableView AllowMultiColumnSorting="True" CellSpacing="-1" CommandItemDisplay="Top"
                DataKeyNames="xxx" NoMasterRecordsText="< ไม่มีข้อมูล >">
                <commanditemtemplate>
                    <div style="width:1400px;">
                        <div style="width:700px; height:auto; float:left;">
                            <table width="100%">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblHeader" runat="server" Text="ข้อมูลรายการจ่ายเงินที่ยังไม่ได้โอน "> </asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div style="width:700px; height:auto; float:right;">
                            <table>
                                <tr>
                                    <td>Export</td>
                                    <td>
                                        <asp:LinkButton ID="cmdExport" runat="server" CommandName="Export" 
                                        CausesValidation="False"> <img style="border:0px;vertical-align:middle;" alt="" 
                                        src="../Images/Buttons/Excel.png" / ></asp:LinkButton>
                                    </td>
                                </tr>
                            </table>                        </div>                    </div>
                    <div id="clrear" style="clear:both; width:0px; height:0px;" ></div>
                </commanditemtemplate>
               <Columns>
                <telerik:GridBoundColumn DataField="bank_acc_seq"  HeaderText="bank_acc_seq" UniqueName="bank_acc_seq">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="bank_acc_no"  HeaderText="bank_acc_no" UniqueName="bank_acc_no">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="bank_name"  HeaderText="bank_name" UniqueName="bank_name">
                </telerik:GridBoundColumn>
              </Columns>

           </MasterTableView>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
